package org.wuxinshui.boosters.designPatterns.strategy.demo3;

public class Type1Handler implements AbstractHandler {
    @Override
    public void c() {
        System.out.println("Type1---c");
    }

    @Override
    public void r() {
        System.out.println("Type1---r");

    }

    @Override
    public void u() {
        System.out.println("Type1---u");

    }

    @Override
    public void d() {
        System.out.println("Type1---d");

    }

    @Override
    public boolean isDefault() {
        return false;
    }

    @Override
    public boolean support(Integer integer) {
        return StrategyType.TYPE1.getKey().equals(integer);
    }
}
